Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Device Functions / Creating and Manipulating View Device Objects


GXDisposeViewDevice

You can use the GXDisposeViewDevice function to delete a view device object.

void GXDisposeViewDevice(gxViewDevice target);
target
A reference to the view device.
DESCRIPTION
The GXDisposeViewDevice function disposes of the view device and all associated memory structures, including the view device's clip shape, bitmap, color set, and color profile.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewDevice_reference 
SEE ALSO
For an example of the use of this function, see page 7-53.

To dispose of all the view devices in a view group, use the GXDisposeViewGroup function, described on page 7-122.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996